#include <vector>
#include <string>
#include <deque>

class SimpleTable
{
public:
    SimpleTable(int rows);

    //
    void set_tittle(std::vector<std::string> data);

    void add_line(std::vector<std::string> const &data);

    void set_quiet(bool enable);

    void print() const;

private:
    int m_rows;
    int m_cols;

    struct Limit
    {
        int ele_max_limit;
        int ele_min_limit;
        int line_max_limit;
    } m_limit;

    struct 
    {
        bool has_tittle = false;
        bool is_quiet = false;
    } m_flags;

    std::deque<int> m_ele_size;
    std::deque<std::vector<std::string>> m_data; // todo:also you can use deque
};
